import request from "@/utils/requestMd5";

export function balance_index(params) {
  return request({
    url: "/balance/index",
    method: "get",
    params
  });
}

export function balance_info(params) {
  return request({
    url: "/balance/info",
    method: "get",
    params
  });
}

export function balanceWater_index(params) {
  return request({
    url: "/balanceWater/index",
    method: "get",
    params
  });
}

// 差额流水导出
export function export_balance_water(data) {
  return request({
    url: "/export/balance_water",
    method: "post",
    responseType: "blob",
    data: data
  });
}

// 商户差额列表导出
export function export_balance_list(data) {
  return request({
    url: "/export/balance_list",
    method: "post",
    responseType: "blob",
    data: data
  });
}
